import request from '@/utils/request';

const email = {
  // 邮件发送
  send(data) {
    return request.post('/system/email/sendWithFile', data, {
      headers: {
        'Content-Type': 'multipart/form-data;charset=UTF-8',
      },
    });
  },
};

export default email;
